package edu.sctu.java.advanced.pattern.valve;

public class BasicValve implements Valve{
    Valve next;

    @Override
    public void setNext(Valve v) {
        this.next = v;
    }

    @Override
    public Valve getNext() {
        return this.next;
    }

    @Override
    public void invoke(Context context) {

        System.out.println("invoke basic!");
    }
}
